//
//  BlueToothService.h
//  BlueToothProject
//
//  Created by foshou on 2017/3/2.
//  Copyright © 2017年 yxw. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

#define HEAD_16_16  @"A1"
#define HEAD_32_32  @"B1"

#define STATIC_HEAD_16  @"5A"
#define STATIC_HEAD_32  @"5B"

#define FOOT @"0F"

#define order1  100
#define order2  200
#define order3  300
#define order4  400
#define order5  500

@interface BlueToothService : NSObject

+ (instancetype)sharedDefaultManager;

@property (nonatomic, assign) BOOL isConnectSuccess;

@property (nonatomic, copy) void(^changLab)(NSString * name);
//连接蓝牙
- (void)connectBlueTooth:(UIButton *)sender;
//发送发片
-(void)sendImageToBlueTooth:(UIImage *)image perHeader:(NSString *)header;
//修改图片尺寸
-(void)transferPhotoWithImage:(UIImage *)image;

-(void)sendCommandToBlueTooth:(int)commandType;

@end
